package com.ehotting.edsta.circuitDesign.domain;

import com.ehotting.edsta.circuitDesign.enums.DataTypeEnum;
import com.ehotting.eaf.core.annotation.Excel;
import com.ehotting.eaf.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 输入场景参数对象 es_scene_param
 * 
 * @author edsta
 * @date 2023-05-05
 */
public class EsSceneParam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 序号 */
    @Excel(name = "序号")
    private Long priority;

    /** 电路编号 */
    @Excel(name = "电路编号")
    private Long circuitId;

    /** 电路名称 */
    @Excel(name = "电路名称")
    private String circuitName;

    /** 输入最小值 */
    @Excel(name = "输入最小值")
    private Double inputMinValue;

    /** 输入最大值 */
    @Excel(name = "输入最大值")
    private Double inputMaxValue;

    /** 输入最大值 */
    @Excel(name = "编码")
    private String code;

    /** 数据类型 */
    @Excel(name = "数据类型")
    private DataTypeEnum dataType;

    /** 元器件类型 */
    @Excel(name = "元器件类型")
    private Long componentType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }


    public void setPriority(Long priority)
    {
        this.priority = priority;
    }

    public Long getPriority() 
    {
        return priority;
    }

    public Long getCircuitId() {
        return circuitId;
    }

    public void setCircuitId(Long circuitId) {
        this.circuitId = circuitId;
    }

    public void setInputMinValue(Double inputMinValue)
    {
        this.inputMinValue = inputMinValue;
    }

    public Double getInputMinValue()
    {
        return inputMinValue;
    }
    public void setInputMaxValue(Double inputMaxValue)
    {
        this.inputMaxValue = inputMaxValue;
    }

    public Double getInputMaxValue()
    {
        return inputMaxValue;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataTypeEnum getDataType() {
        return dataType;
    }

    public void setDataType(DataTypeEnum dataType) {
        this.dataType = dataType;
    }

    public Long getComponentType() {
        return componentType;
    }

    public void setComponentType(Long componentType) {
        this.componentType = componentType;
    }

    public String getCircuitName() {
        return circuitName;
    }

    public void setCircuitName(String circuitName) {
        this.circuitName = circuitName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("priority", getPriority())
            .append("circuitId", getCircuitId())
            .append("inputMinValue", getInputMinValue())
            .append("inputMaxValue", getInputMaxValue())
            .append("generation", getCode())
            .append("dataType", getDataType())
            .append("componentType", getComponentType())
            .toString();
    }
}
